package oop;

import java.util.Scanner;

/**
 * @ClassName : oop.Demo04
 * @Author : LV88VL
 * @Date: 2021/2/2 18:09
 * @Description : switch
 */
public class Demo04 {
    public static void main(String[] args) {
        for (int i = 5; i >= 1; i--) {
            for (int i1 = 1; i1 <= i; i1++) {
                System.out.print(""+"\t");
            }
            for (int i1 = 5; i1 >= i+1; i1--) {
                System.out.print("*"+"\t");
            }
            for (int i1 = 5; i1 >= i; i1--) {
                System.out.print("*"+"\t");
            }
            System.out.println("");
        }
    }
}
